import junit.framework.TestCase;


public class Test extends TestCase {

	private Matrix<String> m;
	
	public void setUp(){
		m = new MyMatrix<String>();
		String a = "a";
		String b = "b";
		m.put(0,2,a);
		m.put(1,3,b);
		m.put(2,0,a);
	}
	
	public void test4(){
		assertEquals(2, m.getDistinctObjectCount());
		System.out.println(m.iterator());
	}
	
	public void test5(){
		assertEquals("a", m.iterator());
	}
	
	public void test6(){
		assertEquals("a", m.get(0, 2));
	}
	
	public void test7(){
		assertEquals(null, m.get(1, 2));
	}
	
	public void test10(){
		assertEquals("a", m.put(2, 0, "b"));
	}

}
